﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/static/include/top.jsp"%>
<script>document.title="上级催报";</script>
<script type="text/javascript">
function getList(){
	var url="${baseURL}/monitor/upp";
	window.location.href(url);
}
function openViewWin(id){
	openWin("查看详情","uppdetail?id="+id,900,500);
}
</script>
  <table>
  <tbody>
   <tr>
			<th><img src="${ctx}/static/images/pages/cen/rig/ico_01.png"
				align="absmiddle">&nbsp;催报信息列表</th>
	</tr>
    <tr>
    <td>
    	<form name="searchForm" action="" method="get">
    	<input type="hidden" name="p" value="1" />
		<a class="tab_but" href="#" onclick="getList();return false;">刷新</a>
		</form>
    </td>
    </tr>
    </tbody>
  </table>
  <br />
	<c:if test="${empty obj.operationResult}">
		<b>没有符合条件的记录。</b>
	</c:if>
<c:if test="${not empty obj.operationResult}">
	<table id="listTable">
		<tbody>
			<tr>
				<th width="40%">标题</th>
				<th width="40%">内容</th>
				<th width="10%">催报时间</th>
				<th>&nbsp;</th>
			</tr>
			<c:forEach var="oneRow" items="${obj.operationResult}">
			<tr>
				<td align="left">${oneRow.billboardTitle}</td>
				<td align="left">${oneRow.billboardContent}</td>
				<td align="left"><fmt:formatDate value="${oneRow.billboardDate}" pattern="yyyy-MM-dd" /></td>
				<td align="left"><a href="#" id="tab_text01" onclick="openReportWin('${oneRow.id}');return false;">详情</a></td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<script>
	//填报
	function openReportWin(id){
		var url="${ctx}/company/billboard/toFillReportList?id=" +id;
		openWin("查看催报报表",url,600,400);
		
	}
	</script>
</c:if>

<%@ include file="/static/include/bottom.jsp"%>
